package com.traffic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("ots_rank")
public class Rank {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private Long userId;
    private int level;
    private Double score;
    private Double stationarity;
    private Double allTime;
    private Double morningTime;
    private Double afternoonTime;
    private Double eveningTime;
    private Double hisVel;
    private Double hisAcc;
    private Double hisMileage;
    private Double maxVel;
    private Double maxAcc;
    private Double maxNAcc;
    private Double hisNAcc;

    private Integer statimes;

}
